package com.zy.business.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.zy.business.domain.TbDocument;
import com.zy.business.domain.TbDocumentFolder;
import com.zy.common.core.domain.AjaxResult;

public interface DocumentService extends IService<TbDocument> {

    /**
     * 删除文档
     * @param documentId
     * @return
     */
    int deleteDocument(Long documentId);

    /**
     * 批量新增文档
     * @param documentFolder
     * @return
     */
    AjaxResult addDocument(TbDocumentFolder documentFolder);
}
